package com.twu.biblioteca.Models;

/**
 * Created with IntelliJ IDEA.
 * User: spacetime
 * Date: 8/9/13
 * Time: 5:07 AM
 * To change this template use File | Settings | File Templates.
 */
public class Book {
    private String title;
    private Boolean isReserved;

    public Book(String title) {
        this.title = title;
        this.isReserved = false;
    }

    public Boolean isReserved() {
        return isReserved;
    }

    public void setAsReserved() {
        this.isReserved = true;
    }

    public void setAsUnreserved() {
        this.isReserved = false;
    }

    public String getTitle() {
        return this.title;
    }
}
